package com.ny.service;

import com.ny.entity.Reservations;
import com.ny.entity.Users;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

public interface UserService {
    Users login(String username, String password);
    void updateUsersPassword(int userId, String password);
    void updatePhoneNumber(int userId, String phoneNumber);
    List<Reservations> findReservationsByUserId( int userId);
    List<Reservations> findReservations(String username, String classroomName, Date startDatetime, Date endDatetime, String status);
}
